package com.assets.asset.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.assets.common.annotation.Excel;
import com.assets.common.core.domain.BaseEntity;

/**
 * 领用对象 t_receive
 *
 * @author bin
 * @date 2023-03-13
 */
public class TReceive extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 领用单号 */
    @Excel(name = "领用单号")
    private String receiveId;

    /** 领用人 */
    @Excel(name = "领用人")
    private String assetUser;

    /** 领用后使用公司 */
    @Excel(name = "领用后使用公司")
    private String assetCompany;

    /** 领用后使用部门 */
    @Excel(name = "领用后使用部门")
    private String assetDepartment;

    /** 领用类型 */
    @Excel(name = "领用类型")
    private String assetType;

    /** 领用说明 */
    @Excel(name = "领用说明")
    private String receiveRemark;

    /** 资产编码 */
    @Excel(name = "资产编码")
    private String assetCode;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setReceiveId(String receiveId)
    {
        this.receiveId = receiveId;
    }

    public String getReceiveId()
    {
        return receiveId;
    }
    public void setAssetUser(String assetUser)
    {
        this.assetUser = assetUser;
    }

    public String getAssetUser()
    {
        return assetUser;
    }
    public void setAssetCompany(String assetCompany)
    {
        this.assetCompany = assetCompany;
    }

    public String getAssetCompany()
    {
        return assetCompany;
    }
    public void setAssetDepartment(String assetDepartment)
    {
        this.assetDepartment = assetDepartment;
    }

    public String getAssetDepartment()
    {
        return assetDepartment;
    }
    public void setAssetType(String assetType)
    {
        this.assetType = assetType;
    }

    public String getAssetType()
    {
        return assetType;
    }
    public void setReceiveRemark(String receiveRemark)
    {
        this.receiveRemark = receiveRemark;
    }

    public String getReceiveRemark()
    {
        return receiveRemark;
    }
    public void setAssetCode(String assetCode)
    {
        this.assetCode = assetCode;
    }

    public String getAssetCode()
    {
        return assetCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("receiveId", getReceiveId())
                .append("assetUser", getAssetUser())
                .append("assetCompany", getAssetCompany())
                .append("assetDepartment", getAssetDepartment())
                .append("assetType", getAssetType())
                .append("receiveRemark", getReceiveRemark())
                .append("assetCode", getAssetCode())
                .toString();
    }
}
